//
//  StatisticsModel.m
//  PropertyMananger
//
//  Created by bh on 17/2/6.
//  Copyright © 2017年 BH. All rights reserved.
//

#import "StatisticsModel.h"

@implementation ListDetail

@end

@implementation StatisticsModel

- (NSMutableArray *)listDetailArray{

    if (_listDetailArray) {
        
        _listDetailArray = [[NSMutableArray alloc]init];
    }
    return _listDetailArray;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{

    if([key isEqualToString:@"ListDetail"]){
        for (NSDictionary * dict in value) {
            ListDetail * listDetailModel = [[ListDetail alloc] init];
            [listDetailModel setValuesForKeysWithDictionary:dict];
            
            [self.listDetailArray addObject:listDetailModel];
        }
        
    }


}

@end
